//
// Z3D - A structured light 3D scanner
// Copyright (C) 2013-2016 Nicolas Ulrich <nikolaseu@gmail.com>
//
// This file is part of Z3D.
//
// Z3D is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Z3D is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Z3D.  If not, see <http://www.gnu.org/licenses/>.
//

#include "ZGui/zmainwindow.h"

#if defined(Q_OS_MACOS)
#include "ZGui/zosxutils.h"
#endif

namespace Z3D {

ZMainWindow::ZMainWindow(QWidget *parent)
    : QMainWindow(parent)
{
#if defined(Q_OS_MACOS)
    ZOSXUtils::hideTitleBar(winId());
#endif
}

} // namespace Z3D
